<!-- <template>
  <div class="dashboard-container">
    <div class="dashboard-text">name: {{ name }}</div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style> -->


<template>
   <div class="dashboard-containerc">
    <div class="dashboard-text">{{ name }}</div>
    <div class="block">
     <el-image class="ddd"
      src="https://ts1.cn.mm.bing.net/th/id/R-C.9bcf3cc774afb6c9f11e70c4f9846763?rik=EXzi5aL2p5gd0Q&riu=http%3a%2f%2fimg.mm4000.com%2ffile%2f2%2fb4%2f75e66d7196.jpg&ehk=DilyW8ft4MEDDMcfmGVEIhd25MYeGtB%2f2iGMiD2Sfyg%3d&risl=&pid=ImgRaw&r=0"
     />
     <div class="container">
      <span class="text">mercury</span>
     </div>
    </div>
   </div>
  </template>
  <style>
  .dashboard-containerc{
   width: 100%;
   height: 100%;
  }
  .block{
   width: 100%;
   height: 100%;
  }
  .ddd{
   width: 100%;
  }
  .container {
   position: absolute;
   text-align: center;
   z-index: 2;
   top: 10%;
   left: 10%;
  }
  .text {
   position: absolute;
   font-size: 100px;
   color: green;
   animation: showup 3s forwards;
  }
  @keyframes showup {
   from {
    letter-spacing: -50px;
    filter: blur(10px);
   }
   to {
    letter-spacing: 10px;
    filter: blur(0.5px);
   }
  }
  .dashboard-text{
   position: absolute;
   z-index: -1;
  }
  </style>
  <script>
